<?php exit("breakcms");?>
{include file="public/not_index_header.php"}
{if $_POST['action']=='from'}
<div class="showinfo">
</div>
<form action="" method="post">
    <div class="showtable2_head">
    	添加权限
    </div>
    <div class="showtable2_body">
        <table border="0" cellpadding="0" cellspacing="1" width="100%" class="tableborder">

            <tr>
                <td width="22%" align="right">权限名&nbsp;&nbsp;</td>
                <td width="78%" align="left"><input name="right_note" type="text" class="input_text_default"/></td>
            </tr>
            <tr>
                <td width="22%" align="right">节点名(abc..)&nbsp;&nbsp;</td>
                <td width="78%" align="left"><input name="right_node" type="text" class="input_text_default"/></td>
            </tr>
            <tr>
                <td width="22%" align="right">所属节点&nbsp;&nbsp;</td>
                <td width="78%" align="left"><select class="select_default" name="right_pid">
                {foreach from="$RIGHT_TREE"}<option value="{$item[0]}">{$item[2]}{$item[1]}</option>{/foreach}
              </select></td>
            </tr>
        </table>
    </div>
    <div class="showbutton_right">
        <input value="保存" type="submit" class="button"/>&nbsp;&nbsp;&nbsp;&nbsp;<input value="重置"   type="reset" class="button"/><input type="hidden" value="insert"  name="postaction"/>
    </div>
</form>
{elseif $_POST['action']=='insert'}
{include file="public/message.php"}
{elseif $_POST['action']=='error'}
{include file="public/message.php"}
{/if}
{include file="public/not_index_footer.php"}